package cn.wolfcode.ssm.mapper;

import cn.wolfcode.ssm.domain.User;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    User selectByPrimaryKey(Long id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User getUserByUsername(String username);

    List<String> getRoleSnsByEmployeeId(Long userId);

    List<String> getPermissionExpsByEmployeeId(Long userId);
}